﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HMS.Common
{
    public class DropdownListItem
    {
        public string Text { get; set; }
        public string Value { get; set; }
        public string TableName { get; set; }
        public string selected { get; set; }
        public string start_date { get; set; }
        public string end_date { get; set; }
        public Boolean is_published { get; set; }

        public DropdownListItem()
        {

        }

        public DropdownListItem(string Text)
        {
            this.Text = Text;
            this.Value = Text;
        }

        public DropdownListItem(string Text, string Value)
        {
            this.Text = Text;
            this.Value = Value;
        }

        public DropdownListItem(string Text, string Value, string TableName)
        {
            this.Text = Text;
            this.Value = Value;
            this.TableName = TableName;
        }

        public DropdownListItem(string Text, string Value, Boolean is_published)
        {
            this.Text = Text;
            this.Value = Value;
            this.is_published = is_published;
        }


        public DropdownListItem(string Text, string Value, string TableName, string selected)
        {
            this.Text = Text;
            this.Value = Value;
            this.TableName = TableName;
            this.selected = selected;
        }

        public DropdownListItem(string Text, string Value, string TableName, string start_date, string end_date)
        {
            this.Text = Text;
            this.Value = Value;
            this.TableName = TableName;
            this.start_date = start_date;
            this.end_date = end_date;
        }
    }
}
